package com.pearadmin.pro.modules.school.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.school.domain.TeachingMaterial;

import com.pearadmin.pro.modules.school.param.TeachingMaterialRequest;

/**
 * 教材Service接口
 * @author ChenJian
 * @date 2021-08-29
 */
public interface TeachingMaterialService extends IService<TeachingMaterial>
{
    /**
    * 获取查询教材列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link TeachingMaterial}
    * */
    PageResponse< TeachingMaterial> page(TeachingMaterialRequest request);

    /**
     * 查询教材
     *
     * @param id 教材ID
     * @return 教材
     */
     TeachingMaterial selectTeachingMaterialById(Long id);

}
